package com.itheima.POJO;

import java.io.Serializable;
import java.util.List;

/**
 * 运动项目库
 */
public class Sport implements Serializable {

    private Integer id;//主键
    private String number;//项目编码
    private String name;//项目名称
    private String exerciseRisk;//运动风险
    private String kind;//运动种类
    private String timeforexcercise;//运动时间
    private String exercisefrequency;//运动频率
    private String type;//类型
    private String strength;//运动强度
    private String MET;//MET
    private String thousandStepsEquivalent;//千步当量
    private String thousandStepsEquivalent_time;//千步当量(时间)
    private String minimumAge;//年龄下限(最小)
    private String maximumAge;//年龄上限(最大)
    private String actionSite;//动作部位(拉伸部位)
    private String actionMethod;//动作方法
    private String enable;//是否启用
    private String calories;//消耗卡路里
    private String energy;//消耗能量
    private String precautions;//注意事项
    private String ageRange;//年龄区间

    private List<Template> templateList;

    public Sport() {
    }

    public List<Template> getTemplateList() {
        return templateList;
    }

    public void setTemplateList(List<Template> templateList) {
        this.templateList = templateList;
    }

    public String getAgeRange() {
        return ageRange;
    }

    public void setAgeRange(String ageRange) {
        this.ageRange = ageRange;
    }

    public Sport(Integer id, String number, String name, String exerciseRisk, String kind, String timeforexcercise, String exercisefrequency,
                 String type, String strength, String MET, String thousandStepsEquivalent, String thousandStepsEquivalent_time, String minimumAge,
                 String maximumAge, String actionSite, String actionMethod, String enable, String calories, String energy, String precautions,
                 String ageRange) {
        this.id = id;
        this.number = number;
        this.name = name;
        this.exerciseRisk = exerciseRisk;
        this.kind = kind;
        this.timeforexcercise = timeforexcercise;
        this.exercisefrequency = exercisefrequency;
        this.type = type;
        this.strength = strength;
        this.MET = MET;
        this.thousandStepsEquivalent = thousandStepsEquivalent;
        this.thousandStepsEquivalent_time = thousandStepsEquivalent_time;
        this.minimumAge = minimumAge;
        this.maximumAge = maximumAge;
        this.actionSite = actionSite;
        this.actionMethod = actionMethod;
        this.enable = enable;
        this.calories = calories;
        this.energy = energy;
        this.precautions = precautions;
        this.ageRange = ageRange;
    }

    public String getPrecautions() {
        return precautions;
    }

    public void setPrecautions(String precautions) {
        this.precautions = precautions;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExerciseRisk() {
        return exerciseRisk;
    }

    public void setExerciseRisk(String exerciseRisk) {
        this.exerciseRisk = exerciseRisk;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getTimeforexcercise() {
        return timeforexcercise;
    }

    public void setTimeforexcercise(String timeforexcercise) {
        this.timeforexcercise = timeforexcercise;
    }

    public String getExercisefrequency() {
        return exercisefrequency;
    }

    public void setExercisefrequency(String exercisefrequency) {
        this.exercisefrequency = exercisefrequency;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStrength() {
        return strength;
    }

    public void setStrength(String strength) {
        this.strength = strength;
    }

    public String getMET() {
        return MET;
    }

    public void setMET(String MET) {
        this.MET = MET;
    }

    public String getThousandStepsEquivalent() {
        return thousandStepsEquivalent;
    }

    public void setThousandStepsEquivalent(String thousandStepsEquivalent) {
        this.thousandStepsEquivalent = thousandStepsEquivalent;
    }

    public String getThousandStepsEquivalent_time() {
        return thousandStepsEquivalent_time;
    }

    public void setThousandStepsEquivalent_time(String thousandStepsEquivalent_time) {
        this.thousandStepsEquivalent_time = thousandStepsEquivalent_time;
    }

    public String getMinimumAge() {
        return minimumAge;
    }

    public void setMinimumAge(String minimumAge) {
        this.minimumAge = minimumAge;
    }

    public String getMaximumAge() {
        return maximumAge;
    }

    public void setMaximumAge(String maximumAge) {
        this.maximumAge = maximumAge;
    }

    public String getActionSite() {
        return actionSite;
    }

    public void setActionSite(String actionSite) {
        this.actionSite = actionSite;
    }

    public String getActionMethod() {
        return actionMethod;
    }

    public void setActionMethod(String actionMethod) {
        this.actionMethod = actionMethod;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getCalories() {
        return calories;
    }

    public void setCalories(String calories) {
        this.calories = calories;
    }

    public String getEnergy() {
        return energy;
    }

    public void setEnergy(String energy) {
        this.energy = energy;
    }


    @Override
    public String toString() {
        return "Sport{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", exerciseRisk='" + exerciseRisk + '\'' +
                ", kind='" + kind + '\'' +
                ", timeforexcercise='" + timeforexcercise + '\'' +
                ", exercisefrequency='" + exercisefrequency + '\'' +
                ", type='" + type + '\'' +
                ", strength='" + strength + '\'' +
                ", MET='" + MET + '\'' +
                ", thousandStepsEquivalent='" + thousandStepsEquivalent + '\'' +
                ", thousandStepsEquivalent_time='" + thousandStepsEquivalent_time + '\'' +
                ", minimumAge='" + minimumAge + '\'' +
                ", maximumAge='" + maximumAge + '\'' +
                ", actionSite='" + actionSite + '\'' +
                ", actionMethod='" + actionMethod + '\'' +
                ", enable='" + enable + '\'' +
                ", calories='" + calories + '\'' +
                ", energy='" + energy + '\'' +
                ", precautions='" + precautions + '\'' +
                ", ageRange='" + ageRange + '\'' +
                '}';
    }
}
